home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac-Source 1994 July
/
Mac-Source_July_1994.iso
/
Other Langs
/
Prolog
/
Open Prolog Options
< prev
next >
Wrap
Text File
|
1991-02-01
|
642b
|
14 lines
'Syntax Error'(File,Position,MessageNumber) :-
'system$window$open$file$window'(File,Window,0),
'toolbox$GetIndString'(Message,132,MessageNumber),
'system$window$set$selection'(Window,Position,Position),
'system$window$get$output'(Current),
'system$window$set$output'(Window,_),
write(Message),
'system$window$set$output'(Current,_),
'system$window$get$selection'(Window,NewPosition,_),
'system$window$set$selection'(Window,Position,NewPosition).
write_time :- 'system$seconds'(S),'system$date'(S,D),'system$time'(S,T),
write(D),write(' '),write(T),write(' ').